// 商品主要分类
export const getSelectListApi=() =>
`https://apis.netstart.cn/xmsc/home/category_v2`
// 商品分类列表
export const getGoodsListApi= id =>
`https://apis.netstart.cn/xmsc/home/category_v2?cat_id=${id}`
// 商品分类内容
export const getGoodsContentApi = id =>
`https://apis.netstart.cn/xmsc/miproduct/view?commodity_id=${id}`
// 商品优惠
export const getGoodsPayOffApi = (id1,id2) =>
`https://apis.netstart.cn/xmsc/miproduct/activity_info?commodity_ids=${id1}&goods_id=${id2}&is_batched=false&address_id&province_id=2&city_id=36&district_id=377&area_id=377017`
// 商品推荐
export const getGoodsRecommendApi = (id) =>
`https://apis.netstart.cn/xmsc/miproduct/recom?commodity_id=${id}`
//首页Tab布局
export const getIndexDataAPI = (type,id) => 
`https://apis.netstart.cn/xmsc/home/page?page_type=${type}&page_id=${id}`
// 商品评论
export const getCommentApi = (page,id) =>
`https://apis.netstart.cn/xmsc/comment/getList?commodity_id=${id}&page_index=${page}`
